DirectCallListener

abstract class DirectCallListener

DirectCallListener

Since

0.6.0

Constructors

DirectCallListener
Link copied to clipboard
fun DirectCallListener()

Functions

onAudioDeviceChanged
Link copied to clipboard
open fun onAudioDeviceChanged(call: DirectCall, currentAudioDevice: AudioDevice?, availableAudioDevices: MutableSet<AudioDevice>)

A callback for when the audio device is changed.

onCalleeDialReceived
Link copied to clipboard
open fun onCalleeDialReceived(call: DirectCall)

Called when the callee has received the SendBirdCallListener.onRinging delegate method. This indicates that the callee has received the call notification.

onConnected
Link copied to clipboard
abstract fun onConnected(call: DirectCall)

A event for when the call is connected.

onCustomItemsDeleted
Link copied to clipboard
open fun onCustomItemsDeleted(call: DirectCall, deletedKeys: List<String>)

A event for when the custom items are deleted.

onCustomItemsUpdated
Link copied to clipboard
open fun onCustomItemsUpdated(call: DirectCall, updatedKeys: List<String>)

A event for when the custom items are changed.

onEnded
Link copied to clipboard
abstract fun onEnded(call: DirectCall)

A event for when the call is ended.

onEstablished
Link copied to clipboard
open fun onEstablished(call: DirectCall)

A event for when the call is established.

onLocalVideoSettingsChanged
Link copied to clipboard
open fun onLocalVideoSettingsChanged(call: DirectCall)

A callback for when the remote video settings is changed.

onReconnected
Link copied to clipboard
open fun onReconnected(call: DirectCall)

A event for when the DirectCall is reconnected.

onReconnecting
Link copied to clipboard
open fun onReconnecting(call: DirectCall)

A event for when the DirectCall is trying to reconnect.

onRemoteAudioSettingsChanged
Link copied to clipboard
open fun onRemoteAudioSettingsChanged(call: DirectCall)

A event for when the remote audio settings is changed.

onRemoteRecordingStatusChanged
Link copied to clipboard
open fun onRemoteRecordingStatusChanged(call: DirectCall)

A callback for when the remote recording status is changed.

onRemoteVideoSettingsChanged
Link copied to clipboard
open fun onRemoteVideoSettingsChanged(call: DirectCall)

A callback for when the remote video settings is changed.

onUserHoldStatusChanged
Link copied to clipboard
open fun onUserHoldStatusChanged(call: DirectCall, isLocalUser: Boolean, isUserOnHold: Boolean)

The local or remote user has put a call on hold or removed a hold from a call and their hold status has changed.